import fetch from '../../utils/request';

export async function deleteFileAxios(params){
    return fetch({
        url: '/api/file/deleteFile',
        method: 'delete',
        params
    });
}

export async function downloadFileAxios(params){
    return fetch({
        url: '/api/file/downloadFile',
        method: 'get',
        responseType: 'blob',
        params
    });
}


export async function getAllFileAxios(){
    return fetch({
        url: '/api/file/getAllFile',
        method: 'get',
        
    });
}